import Vue from 'vue'
import App from './App.vue'
import './registerServiceWorker'
import store from "./store"
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
// import Axios from 'axios'
import myAxios from './utils/myAxios';
import router from './router'

// Vue.prototype.$axios = Axios;
Vue.prototype.$axios = myAxios;

// Vue.prototype.url = 'http://127.0.0.1';
// Vue.prototype.url = '/api';
Vue.prototype.url = '';


console.log( "store", store )

Vue.use( ElementUI )

Vue.config.productionTip = false

new Vue( {
  store,  // this.$store
  router,  // this.$router, this.$route
  render: h => h( App ),
} ).$mount( '#app' )


